If
you want to calculate data that is in the Datasheet view, you can add
totals to the view by opening the Actions menu and selecting Totals
(see Figure 1).
Selecting this option adds a totals row to the view, with options to
perform mathematical calculations on the items in the view.
After
the totals row is added, any numeric column is automatically calculated
with a sum so that the sum of the values in that column is displayed in
the totals row (see Figure 2).
You
can choose the type of mathematical calculation for each column by
clicking the cell at the bottom of the column. For numeric columns,
this includes the sum (which is displayed by default), the average
(which shows the average of all the values in the view), the maximum
(largest value in the view), the minimum (smallest value in the view),
and more (see Figure 3).
For nonnumeric columns, you can choose the Count calculation (see Figure 4). This calculation shows how many values there are (see Figure 4). If you have 20 list items in the view, the count shows 20 as the total.